{temp('html/recruit/pc/head')}
<script>
function gbqu(id){
	$.post('{$_url}/?act=get_diqus',{id:id},function(data){
		$("#dzss").html(data);
		init("icon_1","content_1");
	});
}
function jzss(){//兼职搜索
	var mh = $("#mh").val();//企业名称/职位名称
	var key = $("#key").val();//关键字
	if(key == '请输入关键词'){
		var key = '';
	}
	var shi = $("#shi").val();//省
	var check = $('input:checkbox[name="jzsj"]:checked');//兼职时间
	var jzsj = ',';
	check.each(function(i){
		jzsj += this.value + ',';
	});
	if(jzsj == ','){
		jzsj = '';
	}
	var checksd = $('input:checkbox[name="jzsd"]:checked');//兼职时段
	var jzsd = ',';
	checksd.each(function(i){
		if(this.value == '0'){//全天
			jzsd = 0;
		}else{//上午/下午/晚上
			jzsd += this.value + ',';
		}
	});
	if(jzsd == ','){
		jzsd = '';
	}
	location.href='{$_url}/?act=ruser&met=jzlist&mh='+mh+'&key='+key+'&shi='+shi+'&jzsj='+jzsj+'&jzsd='+jzsd;
}
function gblj(k,v){
	var lj = '{$_url}/?act=ruser&met=jzlist{if(@$v_get['mh'])}&mh={$v_get['mh']}{/if}{if(@$v_get['key'])}&key={$v_get['key']}{/if}{if(@$v_get['shi'])}&shi={$v_get['shi']}{/if}{if(@$v_get['jzsj'])}&jzsj={$v_get['jzsj']}{/if}{if(@$v_get['jzsd'])}&jzsd={$v_get['jzsd']}{/if}';
	if(k == 'zwlb'){
		lj += '&zwlb='+v+'{if(@$v_get['qu'])}&qu={$v_get['qu']}{/if}{if(@$v_get['xueli'])}&xueli={$v_get['xueli']}{/if}{if(@$v_get['yxfw'])}&yxfw={$v_get['yxfw']}{/if}{if(@$v_get['fbsj'])}&fbsj={$v_get['fbsj']}{/if}{if(@$v_get['hylb'])}&hylb={$v_get['hylb']}{/if}';
	}else if(k == 'hylb'){
		lj += '&hylb='+v+'{if(@$v_get['qu'])}&qu={$v_get['qu']}{/if}{if(@$v_get['xueli'])}&xueli={$v_get['xueli']}{/if}{if(@$v_get['yxfw'])}&yxfw={$v_get['yxfw']}{/if}{if(@$v_get['fbsj'])}&fbsj={$v_get['fbsj']}{/if}{if(@$v_get['zwlb'])}&zwlb={$v_get['zwlb']}{/if}';
	}else if(k == 'qu'){
		lj += '&qu='+v+'{if(@$v_get['xueli'])}&xueli={$v_get['xueli']}{/if}{if(@$v_get['yxfw'])}&yxfw={$v_get['yxfw']}{/if}{if(@$v_get['fbsj'])}&fbsj={$v_get['fbsj']}{/if}{if(@$v_get['zwlb'])}&zwlb={$v_get['zwlb']}{/if}{if(@$v_get['hylb'])}&hylb={$v_get['hylb']}{/if}';
	}else if(k == 'xueli'){
		lj += '&xueli='+v+'{if(@$v_get['qu'])}&qu={$v_get['qu']}{/if}{if(@$v_get['yxfw'])}&yxfw={$v_get['yxfw']}{/if}{if(@$v_get['fbsj'])}&fbsj={$v_get['fbsj']}{/if}{if(@$v_get['zwlb'])}&zwlb={$v_get['zwlb']}{/if}{if(@$v_get['hylb'])}&hylb={$v_get['hylb']}{/if}';
	}else if(k == 'yxfw'){
		lj += '&yxfw='+v+'{if(@$v_get['qu'])}&qu={$v_get['qu']}{/if}{if(@$v_get['xueli'])}&xueli={$v_get['xueli']}{/if}{if(@$v_get['fbsj'])}&fbsj={$v_get['fbsj']}{/if}{if(@$v_get['zwlb'])}&zwlb={$v_get['zwlb']}{/if}{if(@$v_get['hylb'])}&hylb={$v_get['hylb']}{/if}';
	}else if(k == 'fbsj'){
		lj += '&fbsj='+v+'{if(@$v_get['qu'])}&qu={$v_get['qu']}{/if}{if(@$v_get['xueli'])}&xueli={$v_get['xueli']}{/if}{if(@$v_get['yxfw'])}&yxfw={$v_get['yxfw']}{/if}{if(@$v_get['zwlb'])}&zwlb={$v_get['zwlb']}{/if}{if(@$v_get['hylb'])}&hylb={$v_get['hylb']}{/if}';
	}
	location.href=lj;
}
</script>
</head>
<body onload="init2('key','请输入关键词')">
	{temp('html/recruit/pc/ruser/head')}

		<!--主体内容-->
		<div class="w_bai dis_inline t_c">
			<!--详细-->
			<div class="w_1100 auto_0">
				<!--导航-->
				<div class="w_bai dis_inline t_m10">
					<div class="f_l t_m3 home"></div>
					<span class="f_l t_m5 l_m5" id="jibie">
						您所在的位置：<a href="{$_url}">首页</a> > <a href="{$_url}/?act=ruser&met=jzlist&mh=qyname&key=&shi=410100&jzsj=&jzsd=">找兼职</a>
					</span>
				</div>
				<!--导航结束-->
				<!--搜索-->
				<div class="w_bai dis_inline t_m10 bc_FFF">
					<!--搜索框-->
					<div class="w_850 auto_20 ">
						<div class="f_l w_110 h_40 l_h40 bor_127ABF point" style="margin-top:0px!important;margin-top:1px"
							onclick="showList('search')">
							<div>
								<div id="mhgb" class="f_l c_656565 l_m15" style="_margin-left:8px">{if($mh == 'zwname')}职位名称{else}企业名称{/if}</div>
								<input type="hidden" id="mh" value="{$mh}" />
								<div class="f_l l_m10 t_m17 xiala2"></div>
							</div>
							<!--隐藏的列表-->
							<div class="f_l w_110 bor_127ABF t_c jddw" id="search" 
								style="margin-left:-2px!important;margin-top:40px;margin-left:-102px;_margin-left:-104px;display:none;">
								<ul>
									<li id="qiye" onMouseOver="changeBackOver2('qiye')" onMouseOut="changeBackOut2('qiye')" 
										onClick="changeList('mh','qyname','企业名称')">企业名称</li>
									<li id="job" onMouseOver="changeBackOver2('job')" onMouseOut="changeBackOut2('job')" 
										onClick="changeList('mh','zwname','职位名称')">职位名称</li>
								</ul>
							</div>
							<!--隐藏的列表结束-->
						</div>
						<div class="f_l" >
							<input type="text" id="key" class="inp_cha" {if(@$v_get['key'])}value="{$v_get['key']}"{/if} onfocus="checkGuanJianCiFocus('key')" 
                                    	onblur="checkGuanJianCiBlur('key')" style="border-left-style:none" />
						</div>
						<div class="f_l w_180 h_40 l_h40 bor_127ABF t_c point"
							style="border-left-style:none;margin-top:0px!important;margin-top:1px"
							onclick="showList('choseCity')">
							<div id="shigb" class="f_l l_m4 c_656565 w_155 t_c">{$sname}</div>
							<input type="hidden" id="shi" value="{$sid}" />
							<div class="f_l t_m17 xiala2" style="margin-left:4px!important;margin-left:0px"></div>
						</div>
						<div class="f_l" style="margin-top:0px!important;margin-top:1px">
							<div class="w_110 h_40 l_h40 t_c f_s20 c_FFF bc_127ABF bor_127ABF point" onClick="jzss()">搜索</div>
						</div>
						<!--选择城市-->
						<div id="choseCity" class="f_r w_410 bor_137ABF jddw bc_FFF zIndex_2"
							style="display:none;margin-top:44px;margin-left:509px!important;margin-left:-298px;_margin-left:-318px;">
							<!--标题-->
							<div class="h_45 bc_127ABF c_FFF l_h45">
								<div class="f_l l_m10">选择城市</div>
								<div class="f_r r_m10 point" onClick="closeList('choseCity')">选好了</div>
							</div>
							<!--标题结束-->
							<!--所属省份-->
							<div class="w_380 auto_10 t_l">
								<p class="c_323232">所属省份</p>
								<div class="bor_C6 bor_di_none t_m8"></div>
								<div id="city">
									<ul>
										{if(@$dz)}
										{foreach($dz as $k=>$v)}
										<li onClick="showList('city_hide{$k}')">
											{$v['area_name']}
											<!--隐藏的城市-->
											<div id="city_hide{$k}" class="w_180 bor1_137ABF jddw bc_FFF"
												style="display:none;margin-top:0px!important;margin-top:22px;margin-left:0px!important;margin-left:-30px;">
												<ul>
													{if(@$v['xiaji'])}
													{foreach($v['xiaji'] as $kk=>$vv)}
													<li style="width:160px;" onClick="changeLists('shi','{$vv['area_id']}','{$vv['area_name']}','{$vv['area_id']}')">{$vv['area_name']}</li>
													{/foreach}
													{/if}
												</ul>
											</div>
											<!--隐藏的城市结束-->
										</li>
										{/foreach}
										{/if}
									</ul>
								</div>
							</div>
							<!--所属省份结束-->
						</div>
						<!--选择城市结束-->
					</div>
					<!--搜索框结束-->
					<!--收起筛选-->
					<div class="dis_inline w_bai">
						<div class=" f_r r_m40" onClick="hideList('chose','shou')">
							<div class="bor_C6 w_78 h_25 l_h25 point f_s0" style="border-bottom-style:none">
								<div class="f_l f_s12 c_656565" style="margin-left:5px!important;margin-left:3px;_margin-left:2px">
									收起筛选
								</div>
								<div class="f_l t_m5 jiantou_up" id="shou"></div>
							</div>
						</div>
					</div>
					<!--收起筛选结束-->
					<!--分割线-->
					<div class="w_bai dis_inline f_l">
						<div class="bor_C6 bor_di_none "></div>
					</div>
					<!--分割线结束-->
					<!--选项-->
					<div class="t_m10 w_bai b_m20 t_l" id="chose" style="display:block">
						<!--地标地段-->
						<div class="t_m10 c_656565 dis_inline">
							<div class="f_l t_m5 l_m40 f_b" style="_margin-left:20px">地标地段</div>
							<input type="hidden" id="qu" value="{if(@$v_get['qu'])}{$v_get['qu']}{else}0{/if}" />
							<div id="dzss" class="f_l">
								<div class="f_l l_m10 active point" style="_margin-left:5px" {if(@$dzs)}onclick="qbyclj('qu',{code(echo count($dzs))})"{/if}>不限</div>
								<div class="f_l w_850 hid" id="content_1">
									{if(@$dzs)}
				        			{foreach($dzs as $k=>$v)}
				        			<span {if(@$v_get['qu'] == $v['area_id'])}class="c_1379BF"{/if} id="qu{$k}" onClick="gbvallj('qu',{$v['area_id']},{$k},{code(echo count($dzs))})">{$v['area_name']}</span>
				        			{/foreach}
				        			{/if}
								</div>
								<!--展开与隐藏图标-->
								<div class="jian point f_l l_m15" id="icon_1" style="display:none" 
									onclick="change('icon_1','content_1')">
								</div>
								<!--展开与隐藏图标结束-->
							</div>
						</div>
						<!--地标地段结束-->
						<!--兼职时间-->
						<div class="t_m10 c_656565 dis_inline">
							<div class="f_l t_m5 l_m40 f_b" style="_margin-left:20px">兼职时间</div>
							<div class="f_l l_m10 active point" onClick="qbycs('jzsj',10)">不限</div>
							<div class="f_l w_850" id="content_2">
								<div class="f_l t_m5 b_m5 l_m15" style="_margin-left:5px">
									<input type="checkbox" id="jzsj0" name="jzsj" value="1" {if(@strpos($v_get['jzsj'],',1,') !== false)}checked="checked"{/if} class="v_middle" />周一
								</div>
								<div class="f_l t_m5 b_m5 l_m15">
									<input type="checkbox" id="jzsj1" name="jzsj" value="2" {if(@strpos($v_get['jzsj'],',2,') !== false)}checked="checked"{/if} class="v_middle" />周二
								</div>
								<div class="f_l t_m5 b_m5 l_m15">
									<input type="checkbox" id="jzsj2" name="jzsj" value="3" {if(@strpos($v_get['jzsj'],',3,') !== false)}checked="checked"{/if} class="v_middle" />周三
								</div>
								<div class="f_l t_m5 b_m5 l_m15">
									<input type="checkbox" id="jzsj3" name="jzsj" value="4" {if(@strpos($v_get['jzsj'],',4,') !== false)}checked="checked"{/if} class="v_middle" />周四
								</div>
								<div class="f_l t_m5 b_m5 l_m15">
									<input type="checkbox" id="jzsj4" name="jzsj" value="5" {if(@strpos($v_get['jzsj'],',5,') !== false)}checked="checked"{/if} class="v_middle" />周五
								</div>
								<div class="f_l t_m5 b_m5 l_m15">
									<input type="checkbox" id="jzsj5" name="jzsj" value="6" {if(@strpos($v_get['jzsj'],',6,') !== false)}checked="checked"{/if} class="v_middle" />周六
								</div>
								<div class="f_l t_m5 b_m5 l_m15">
									<input type="checkbox" id="jzsj6" name="jzsj" value="7" {if(@strpos($v_get['jzsj'],',7,') !== false)}checked="checked"{/if} class="v_middle" />周日
								</div>
								<div class="f_l w_850">
									<div class="f_l t_m5 b_m5 l_m15" style="_margin-left:5px">
										<input type="checkbox" id="jzsj7" name="jzsd" value="1" {if(@strpos($v_get['jzsd'],',1,') !== false)}checked="checked"{/if} class="v_middle" />上午
									</div>
									<div class="f_l t_m5 b_m5 l_m15">
										<input type="checkbox" id="jzsj8" name="jzsd" value="2" {if(@strpos($v_get['jzsd'],',2,') !== false)}checked="checked"{/if} class="v_middle" />下午
									</div>
									<div class="f_l t_m5 b_m5 l_m15">
										<input type="checkbox" id="jzsj9" name="jzsd" value="3" {if(@strpos($v_get['jzsd'],',3,') !== false)}checked="checked"{/if} class="v_middle" />晚上
									</div>
								</div>
							</div>
						</div>
						<!--兼职时间结束-->
					</div>
					<!--选项结束-->
				</div>
				<!--搜索框及选项结束-->
				<!--搜索条件-->
				<div class="w_bai dis_inline t_m10 bc_FFF xddw zIndex_1">
					<!--综合按钮-->
					<div class="f_l w_110 h_50 t_c c_FFF l_h50 f_s18 bc_137ABF">综合</div>
					<!--综合按钮结束-->
					<!--筛选-->
					<div class="f_l t_m8 l_m10 c_656565  ">
						<div class="f_l l_m20">
							<div class="f_l t_m8 f_b">职位</div>
							<div class="select-outer select-wh90 f_l l_m5">
								<div class="select-inner">
									<select class="select-h" onChange="gblj('zwlb',this.value)">
										<option value="0">不限</option>
										{if(@$zwlb)}
					        			{foreach($zwlb as $k=>$v)}
					        			<option {if(@$v_get['zwlb'] == $v['id'])}selected="selected"{/if} value="{$v['id']}">{$v['name']}</option>
					        			{/foreach}
					        			{/if}
									</select>
								</div>
							</div>
						</div>
						
						<div class="f_l l_m20">
							<div class="f_l t_m8 f_b">行业</div>
							<div class="select-outer select-wh90 f_l l_m5">
								<div class="select-inner">
									<select class="select-h" onChange="gblj('hylb',this.value)">
										<option value="0">不限</option>
										{if(@$hy)}
					        			{foreach($hy as $k=>$v)}
					        			<option {if(@$v_get['hylb'] == $v['id'])}selected="selected"{/if} value="{$v['id']}">{$v['name']}</option>
					        			{/foreach}
					        			{/if}
									</select>
								</div>
							</div>
						</div>
					
						<div class="f_l l_m20">
							<div class="f_l t_m8 f_b">学历要求</div>
							<div class="select-outer select-wh95 f_l l_m5">
								<div class="select-inner">
									<select class="select-h" onChange="gblj('xueli',this.value)">
										<option value="0">不限</option>
										{if(@$_xueli)}
					        			{foreach($_xueli as $k=>$v)}
					        			{if($k != 0)}
					        			<option {if(@$v_get['xueli'] == $v)}selected="selected"{/if}>{$v}</option>
					        			{/if}
					        			{/foreach}
					        			{/if}
									</select>
								</div>
							</div>
						</div>
						<div class="f_l l_m20">
							<div class="f_l t_m8 f_b">工资要求</div>
							<div class="select-outer select-wh95 f_l l_m5">
								<div class="select-inner">
									<select class="select-h" onChange="gblj('yxfw',this.value)">
										<option value="0">不限</option>
										{if(@$_yxfw)}
					        			{foreach($_yxfw as $k=>$v)}
					        			<option {if(@$v_get['yxfw'] == $v)}selected="selected"{/if}>{$v}</option>
					        			{/foreach}
					        			{/if}
									</select>
								</div>
							</div>
						</div>
						<div class="f_l l_m20">
							<div class="f_l t_m8 f_b">发布时间</div>
							<div class="select-outer select-wh95 f_l l_m5">
								<div class="select-inner">
									<select class="select-h" onChange="gblj('fbsj',this.value)">
										<option value="0">不限</option>
										<option value="1" {if(@$v_get['fbsj'] == 1)}selected="selected"{/if}>今天</option>
										<option value="3" {if(@$v_get['fbsj'] == 3)}selected="selected"{/if}>最近三天</option>
										<option value="7" {if(@$v_get['fbsj'] == 7)}selected="selected"{/if}>最近一周</option>
										<option value="30" {if(@$v_get['fbsj'] == 30)}selected="selected"{/if}>最近一个月</option>
									</select>
								</div>
							</div>
						</div>
					</div>
					<!--筛选结束-->
				</div>
				<!--搜索条件结束-->
				<!--搜索结果-->
				<div class="w_bai dis_inline t_m10 bc_FFF t_l">
					{if(@$rs['data'])}
					{foreach($rs['data'] as $k=>$v)}
					<!--第1条-->
					<a href="{$_url}/?act=firm&met=gw_xxs&id={$v['id']}&qid={$v['qid']}">
					<div class="c_656565 point" id="result_{$k}" onMouseOver="changeBackOver('result_{$k}')"
						onmouseout="changeBackOut('result_{$k}')">
						<!--招聘要求-->
						<div class="f_l w_505 t_m15 l_m25 dis_inline">
							<div>
								<span class="c_1379BF f_b">{if(@$v['name'])}{$v['name']}{/if}</span>
								<span class="l_m10 c_E06400">{if(@$v['money'])}{$v['money']}/月{/if}</span>
								<span class="l_m10">{if(@$v['gzjy'])}{$v['gzjy']}{/if}</span>
								<span class="l_m10">{if(@$v['xueli'])}{$v['xueli']}{/if}</span>
								<span class="l_m10">{if(@$v['time'])}{$v['time']}{/if}</span>
							</div>
							<p class="t_m10 l_h25 w_468 hid" id="zhize_{$k}" style="height:45px;word-break:break-all;overflow:hidden">
								岗位职责：{if(@$v['other'])}{$v['other']}{/if}
							</p>
						</div>
						<!--招聘要求结束-->
						<!--公司信息-->
						<div class="f_l w_355 t_m5 l_m10 dis_inline">
							<p class="t_m10 f_b">{if(@$v['qy_name'])}{$v['qy_name']}{/if}</p>
							<p class="t_m10">
								{if(@$v['qybase']['sheng'])}{$v['qybase']['sheng']}{/if}
								{if(@$v['qybase']['shi'])}{$v['qybase']['shi']}{/if}
								{if(@$v['qybase']['qu'])}{$v['qybase']['qu']}{/if}
								{if(@$v['qybase']['address'])}{$v['qybase']['address']}{/if}
							</p>
							<div class="t_m10">
								<span class="c_E06400">拓展人脉关系， </span>
								<span>让自己的职场更有趣！</span>
							</div>
						</div>
						<!--公司信息结束-->
						<!--公司logo-->
						<div class="f_l w_95">&nbsp;</div>
						<div class="f_l">
							<div class="t_m15">
								<img src="{if(@$v['qybase']['logo'])}{photo({$v['qybase']['logo']})}{else}{$style}/images/logo2.png{/if}" width="72" height="72">
							</div>
						</div>
						<!--公司logo结束-->
						<div class="qfd"></div>
						<!--分割线-->
						<div class="w_bai dis_inline t_m10">
							<div class="bor_C6 bor_di_none "></div>
						</div>
						<!--分割线结束-->
					</div>
					</a>
					{/foreach}
					<!--翻页-->
					<div class="dis_inline w_bai t_m25 b_m50 c_656565">
						<div class="f_l w_380">&nbsp;</div>
						<div class="f_l">
							{pager($rs['count'],$pagesize)}
						</div>
					</div>
					<!--翻页结束-->
					{else}
					<div class="f_l w_505 t_m15 b_m20 l_m25 dis_inline c_656565">
						暂无数据
					</div>
					{/if}
				</div>
				<!--搜索结果结束-->
			</div>
			<!--详细结束-->
		</div>
		<!--主体内容结束-->
		{if(@$rs['data'])}
		<script type="text/javascript">
			//length处理
			var numCount=65;
			function showByLength(txt_id) {
				var txt=document.getElementById(txt_id);
				if(txt.innerHTML.length>numCount){
					txt.innerHTML=txt.innerHTML.substr(0,numCount)+"...";
				}
			}
			{foreach($rs['data'] as $k=>$v)}
			showByLength("zhize_{$k}");
			{/foreach}
		</script>
		{/if}
		<script type="text/javascript">
			var line=18;
	
			function change(iconId,connId){
				var icon=document.getElementById(iconId);
				var conn=document.getElementById(connId);
				var rows=getRows(connId);
				
				if(rows>0){
					icon.style.background="url({$style}/images/icon.png) -350px 0 no-repeat";
					conn.style.height="23px";
					conn.style.overflow="hidden";
				}else{
					icon.style.background="url({$style}/images/icon.png) -320px 0 no-repeat";
					conn.style.height="auto";
					conn.style.overflow="";
				}
			}
			function init(iconId,connId){
				var icon=document.getElementById(iconId);
				var rows=getRows(connId);
				if(rows>0){
					icon.style.display="block";	
				}else{
					icon.style.display="none";	
				}
			} 		
			function getRows(connId){
				var conn=document.getElementById(connId);
				return parseInt(conn.offsetHeight / line -1);
			}
			init("icon_1","content_1");
		</script>
{temp('html/recruit/pc/foot')}